package com.secxiot.provider.communication.dto;

import java.io.Serializable;
import java.util.List;

import com.secxiot.provider.system.dto.FileLogDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;


@ApiModel
@Data // lombok，无须再添加get/set方法
@ToString
public class CommunicationCreateDto implements Serializable {

	private static final long serialVersionUID = -7527860133426745612L;
	
	@ApiModelProperty(value = "发起人id", required = true)
	private Long creatorId;
	
	@ApiModelProperty(value = "接收人id", required = true)
	private Long receiverId;

	@ApiModelProperty(value = "标题", required = true)
	private String title;

	@ApiModelProperty(value = "附件", required = true)
	private List<FileLogDto> attachments;


}
